package Work05;

public class Cat extends Animal {

    public Cat(){

    }
    public Cat(int age,String color){
        super(age,color);
    }

    public void catchMouse(){
        System.out.println("抓老鼠");
    }
    @Override
    public void eat(String something){
        System.out.println(getAge()+"岁"+getColor()+"吃"+something);
    }
}
